<features>

  <feature name="oam-lib" version="${oam.version}">
      <bundle start-level="50">mvn:com.automatak.archivist/scala-osgi/${scala.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.archivist/scala-stm-osgi_${scala.version}/${scala.stm.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.archivist/protobuf-osgi/${protobuf.java.verion}</bundle>
      <bundle start-level="50">mvn:com.h2database/h2/${h2.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.lib4s/executor4s_${scala.version}/${lib4s.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.lib4s/nio4s_${scala.version}/${lib4s.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.lib4s/log4s_${scala.version}/${lib4s.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.lib4s/osgi4s_${scala.version}/${lib4s.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.archivist/archivist-protocol_${scala.version}/${archivist.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.archivist/archivist-messaging_${scala.version}/${archivist.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.archivist/archivist-historian-api_${scala.version}/${archivist.version}</bundle>
      <bundle start-level="50">mvn:com.automatak.archivist/archivist-tcpserver_${scala.version}/${archivist.version}</bundle>
  </feature>

  <feature name="oam-server" version="${oam.version}">
      <feature>oam-lib</feature>
      <bundle start-level="60">mvn:com.automatak.archivist/executor-service_${scala.version}/${archivist.version}</bundle>
      <bundle start-level="60">mvn:org.gridprotectionalliance.oam/oam-db-service_${scala.version}/${oam.version}</bundle>
  </feature>

</features>